109849f4cea6e839ca2cc0627ae5cb258130dee4,src/core/org/apache/jmeter/engine/StandardJMeterEngine.java,StandardJMeterEngine,scheduleThread,#JMeterThread#ThreadGroup#,390

Before Change


        if (group.getScheduler())
        {
            //set the starttime for the Thread
            thread.setStartTime(group.getStartTime());
            
			//set the endtime for the Thread
            if (group.getDuration() > 0){// Duration is  in seconds

After Change


        {
			//set the starttime for the Thread
        	if (group.getDelay() > 0 ){// Duration is  in seconds
				thread.setStartTime(group.getDelay()*1000+(new Date().getTime()));
        	} else {
				thread.setStartTime(group.getStartTime());
        	}
            
			//set the endtime for the Thread